<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
<%@ taglib uri="http://www.springframework.org/tags" prefix="spring"%>
<spring:message var="pageTitle" code="agendaAjout.pageTitle" />
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>${pageTitle}</title>

<script src="http://code.jquery.com/jquery-1.9.1.js"></script>
<script src="http://code.jquery.com/ui/1.10.3/jquery-ui.js"></script>
<link href="<%=request.getContextPath()%>/resources/css/forms.css"
	rel="stylesheet">
</head>
<body>
	<div id="AjoutFile">
		<h2>Ajouter un fichier</h2>


		<form:form id="formUploadFile" method="post" action="fileUpload" modelAttribute="fichier" enctype="multipart/form-data">
			<fieldset>
				<div class="formseparator bigespace">
					<label>Sélectionner un fichier</label>			
					<input type="file" name="file" path="fileUpload" />
				</div>
				<div class="formseparator">
					<label><spring:message code="agendaAjout.label.group" /></label>
					<form:select path="grp" multiple="false">
						<form:options items="${lstGroupes}" itemValue="idGroup"
							itemLabel="name" />
					</form:select>
				</div>
				
			 	
			 	
				<div class="formseparator">
					<input type="submit" value="enregistrer"
						class="btn btn-lg btn-primary " />
				</div>
			</fieldset>
		</form:form>
		<div style="clear:both;">&nbsp;</div>
		</div>
</body>
</html>